package com.oneplatform.system.dto.param;

import javax.validation.constraints.NotBlank;

/**
 * 
 * <br>
 * Class Name   : RegulationParam
 */
public class SequenceRuleParam {

    private Integer id;
    @NotBlank(message = "归属应用id不能为空")
    private String appId;
    private String name;
	@NotBlank(message = "序列业务编码不能为空")
    private String code;
    private String prefix;
    private String timeExpr;
    private Integer seqLength;
	private String randomType;
	private Integer randomLength = 0;
    private Integer firstSequence;
    private String resetSeqTimeunit;
    private String memo;
    
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	
	/**
	 * @return the appId
	 */
	public String getAppId() {
		return appId;
	}
	/**
	 * @param appId the appId to set
	 */
	public void setAppId(String appId) {
		this.appId = appId;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}
	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * @return the prefix
	 */
	public String getPrefix() {
		return prefix;
	}
	/**
	 * @param prefix the prefix to set
	 */
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	/**
	 * @return the expression
	 */
	
	/**
	 * @return the seqLength
	 */
	public Integer getSeqLength() {
		return seqLength;
	}
	
	/**
	 * @return the randomType
	 */
	public String getRandomType() {
		return randomType;
	}
	/**
	 * @param randomType the randomType to set
	 */
	public void setRandomType(String randomType) {
		this.randomType = randomType;
	}
	/**
	 * @return the randomLength
	 */
	public Integer getRandomLength() {
		return randomLength;
	}
	/**
	 * @param randomLength the randomLength to set
	 */
	public void setRandomLength(Integer randomLength) {
		this.randomLength = randomLength;
	}
	/**
	 * @return the timeExpr
	 */
	public String getTimeExpr() {
		return timeExpr;
	}
	/**
	 * @param timeExpr the timeExpr to set
	 */
	public void setTimeExpr(String timeExpr) {
		this.timeExpr = timeExpr;
	}
	/**
	 * @param seqLength the seqLength to set
	 */
	public void setSeqLength(Integer seqLength) {
		this.seqLength = seqLength;
	}
	/**
	 * @return the firstSequence
	 */
	public Integer getFirstSequence() {
		return firstSequence;
	}
	/**
	 * @param firstSequence the firstSequence to set
	 */
	public void setFirstSequence(Integer firstSequence) {
		this.firstSequence = firstSequence;
	}
	/**
	 * @return the resetSeqTimeunit
	 */
	public String getResetSeqTimeunit() {
		return resetSeqTimeunit;
	}
	/**
	 * @param resetSeqTimeunit the resetSeqTimeunit to set
	 */
	public void setResetSeqTimeunit(String resetSeqTimeunit) {
		this.resetSeqTimeunit = resetSeqTimeunit;
	}
	/**
	 * @return the memo
	 */
	public String getMemo() {
		return memo;
	}
	/**
	 * @param memo the memo to set
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	} 
}